/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #1890ff;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
}

section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏垂直对齐优化 */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    height: 40px;
    margin-right: 0.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: #1890ff;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1890ff;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.primary {
    background-color: #1890ff;
    color: #fff;
}

.primary:hover {
    background-color: #40a9ff;
}

.secondary {
    background-color: #fff;
    color: #1890ff;
    border: 1px solid #1890ff;
}

.secondary:hover {
    background-color: #f0f5ff;
}

/* 英雄区域 */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #e6f7ff, #f0f5ff);
    padding: 5rem 2rem;
}

.hero-content {
    width: 50%;
}

/* 英雄区域优化 */
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #4d4d4d;
}

.cta-buttons {
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
}

.primary {
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.secondary {
    border-width: 2px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    width: 40%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

/* 功能特点区域 */
.features {
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 目标用户区域 */
.target-users {
    background-color: #f0f5ff;
}

.target-users h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.user-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.user-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.user-icon {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1.5rem;
}

.user-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 使用步骤区域 */
.how-it-works {
    background-color: #fff;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.step {
    text-align: center;
    width: 220px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #1890ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* 下载区域 */
.download {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #fff;
    text-align: center;
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background-color: #fff;
    color: #1890ff;
    padding: 1rem 2rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 0.8rem;
}

.version-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1.5rem;
    }
    
    .features-grid, .user-cards {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 英雄区域垂直对齐优化 */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content h1,
.hero-content p,
.cta-buttons {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    text-align: center;
}

.cta-buttons {
    justify-content: center;
}